package com.nio.c2_Path;

import java.nio.file.Path;
import java.nio.file.Paths;

/**
 * @version No one is coming, unless you change yourself!!!
 * @author： pang-yun
 * @date： 2021-05-31 14:46
 */


//路径
public class PathMy {
    public static void main(String[] args) {
     Path path =  Paths.get("G:\\MyProgran\\Netty-demo\\.\\data.txt");
        Path path1 = Paths.get("data.txt");
        System.out.println(path);
        System.out.println(path1);
        System.out.println(path.normalize());

    }
}
